<?php


namespace app\logic\model;


use think\Model;

class UserBankCommonModel extends Model
{
    protected $name='user_bank';

    function getBindUserBank($user_id){
        $user_bank=$this->where('user_id',$user_id)
            ->where('status',1)
            ->where('del_flag',0)
            ->find();
        if(empty($user_bank)){
            return false;
        }
        return true;
    }
}